package com.zhuiyun.project.api.collectVideo.entity;


import com.zhuiyun.project.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * @ClassName user_video_collect
 * @Description TODO
 * @Author LXJ
 * @Date 2023/12/28 14:36
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "collect_video")
public class CollectVideo extends BaseEntity{
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
    /**
     * 视频键
     */
    private int videoId;
    /**
     * 用户键
     */
    private Integer userId;
    /**
     * 播放量
     */
    private Integer videoViews;
    /**
     * 点赞量
     */
    private Integer likeCounts;
    /**
     * 封面
     */
    private Integer coverNumber;
    /**
     * 视频作者
     */
    private String userName;
    /**
     * 收藏夹键
     */
    private Integer favorites;
}
